Northern Region Eclair Orders and Results FHIR API icon

Northern Region Eclair Orders and Results FHIR API

(0 reviews)

Get Patient

Important Note

Eclair Get Patient request has a known issue. It returns a patient address element "State" having incorrect data, i.e., bore no relevance to the patient's actual address. Consumers are highly discouraged from requesting Eclair Patient Demographics data. Instead, Consumers are advised to use the Northern Region Patient FHIR API.

Patient Resource Implementation

Reference: http://hl7.org/fhir/R4/patient.html

Element / Node NamesDescription
addressAn address for the individual
birthdateThe date of birth for the individual
deceasedBooleanIndicates if the individual is deceased or not
extension - sex-at-birthA person's sex at the time of their birth (considered to be immutable)
identifierPatient NHI and/or Eclair internal patient ID
maritalStatusMarital (civil) status of a patient
nameThe name associated with the patient
resourceTypeRepresents the FHIR domain resource type

Query Parameters

The following parameters are supported for performing queries on FHIR Patient resource. See http://hl7.org/fhir/R4/searchparameter-registry.html for further information.

DataParameterExample
NHIpatient.identifierGET {{host}}/clinicaldocrepo/Eclair/Patient?identifier=standards.digital.health.nz/ns/nhi-id%7C[Patient NHI Here]
Internal patient IDpatient.identifierGET {{host}}/clinicaldocrepo/Eclair/Patient?patient.identifier=ECLAIRSYSTEM%7C[Eclair System ID Here]
Partial name searchpatient.name.family, patient.name.givenGET {{host}}/clinicaldocrepo/Eclair/Patient/_search?name=[family name,given name]

Sample payloads

Request Payload

GET https://reg-eclairfhir-api-v40-acc.au-s1.cloudhub.io/clinicaldocrepo/Eclair/Patient?identifier=standards.digital.health.nz/ns/nhi-id%7CZZZ0032

Response Payload

{
    "resourceType": "Bundle",
    "meta": {
        "lastUpdated": "2023-09-29T12:45:18.4650467+13:00"
    },
    "type": "searchset",
    "entry": [
        {
            "fullUrl": "https://eclair-api-acc.hanz.health.nz/EclairResourceServer/Eclair/Patient/ECLAIRSYSTEM|3131151",
            "resource": {
                "resourceType": "Patient",
                "id": "531c7a2c-2d49-4008-8259-4504da22f8d0",
                "extension": [
                    {
                        "url": "http://hl7.org.nz/fhir/StructureDefinition/sex-at-birth",
                        "valueString": "Male"
                    }
                ],
                "identifier": [
                    {
                        "use": "official",
                        "type": {
                            "coding": [
                                {
                                    "system": "https://standards.digital.health.nz/ns/nhi-id",
                                    "code": "National Health Index (NHI)"
                                }
                            ],
                            "text": "National Health Index (NHI)"
                        },
                        "system": "https://standards.digital.health.nz/ns/nhi-id",
                        "value": "ZZZ0032"
                    }
                ],
                "name": [
                    {
                        "use": "official",
                        "family": "A",
                        "given": [
                            "TE",
                            "AWA"
                        ],
                        "prefix": [
                            "MR"
                        ]
                    }
                ],
                "birthDate": "1996-08-29",
                "deceasedBoolean": false,
                "address": [
                    {
                        "use": "home",
                        "type": "both",
                        "line": [
                            "11 GARRETT STREET"
                        ],
                        "city": "WELLINGTON",
                        "state": "Auckland",
                        "postalCode": "6011",
                        "country": "NEW ZEALAND"
                    }
                ],
                "contact": [
                    {
                        "telecom": [
                            {
                                "system": "email",
                                "value": "lisa.bloomfield@healthalliance.co.nz",
                                "use": "work"
                            },
                            {
                                "system": "phone",
                                "value": "096250000",
                                "use": "work"
                            },
                            {
                                "system": "phone",
                                "value": "099999999",
                                "use": "home"
                            }
                        ]
                    }
                ]
            },
            "search": {
                "mode": "match"
            }
        }
    ]
}

Reviews